package com.ruoyi.product.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductCategoryDetail2Vo {
    private String categoryName;
    private List<ProductCategoryVo> productList;

    @JsonIgnore
    private Long spuId;
    @JsonIgnore
    private String spuName;
    @JsonIgnore
    private String spuTitle;
    @JsonIgnore
    private String spuDescription;

    @JsonIgnore
    private Long skuId;
    @JsonIgnore
    private String code;
    @JsonIgnore
    private String categoryId;
    @JsonIgnore
    private String specData;
    @JsonIgnore
    private BigDecimal price;
    @JsonIgnore
    private BigDecimal originalPrice;
    @JsonIgnore
    private Long stock;
    @JsonIgnore
    private Long lowStock;
    @JsonIgnore
    private BigDecimal weight;
    @JsonIgnore
    private BigDecimal volume;
    @JsonIgnore
    private Long status;
    @JsonIgnore
    private List<String> specNameGroup;
    @JsonIgnore
    private List<String> specValueGroup;
    @JsonIgnore
    private String specNameGroupRaw;
    @JsonIgnore
    private String specValueGroupRaw;
    @JsonIgnore
    private Date createdAt;
    @JsonIgnore
    private Date updatedAt;
    @JsonIgnore
    private String url;
    @JsonIgnore
    private List<String> urls;
    @JsonIgnore
    private String skuName;
    @JsonIgnore
    private String description;

    @JsonIgnore
    private Long couponId;
    @JsonIgnore
    private String couponCode;
    @JsonIgnore
    private Long couponType;
    @JsonIgnore
    private Double couponValue;
    @JsonIgnore
    private Double couponMinAmount;
    @JsonIgnore
    private String couponStartTime;
    @JsonIgnore
    private String couponEndTime;

    @JsonIgnore
    private Long activityId;
    @JsonIgnore
    private String activityName;
    @JsonIgnore
    private Long activityType;
    @JsonIgnore
    private Long activityStatus;
    @JsonIgnore
    private String activityDescription;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityCreateTime;
}
